package com.dhecp.project.purchase.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.purchase.domain.Distribution;

public interface DistributionMapper extends GenericDao<Distribution, String> {

    List<Distribution> selectDistribution(Map<String, Object> params);


    List<Distribution> queryGroupList(Map<String, Object> params);


    List<Distribution> selectByGoodsID(Map<String, Object> params);

    List<Distribution> select2(Map<String, Object> params);

    Distribution findByPcodeAndSkuid(@Param("pcode")String pcode, @Param("skuid")String skuid);


    List<Distribution> findByPcodeAndGoodsID(@Param("goodsID")String goodsID, @Param("pCode")String pCode);

    Integer queryCount(Map<String, Object> params);
}
